package com.mcf.xiaolinju.vo;

public class LoginReturn {

    //登录的token
    private  String token;
    //提示信息
    private String message;
    //用户主键
    private Integer id;



    /**
     * 角色（0：超级管理员;1:管理员;2:用户)
     */
    private Integer role;

    /**
     * 名字
     */
    private String mastername;



    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getMastername() {
        return mastername;
    }

    public void setMastername(String mastername) {
        this.mastername = mastername;
    }



    @Override
    public String toString() {
        return "LoginReturn{" +
                "token='" + token + '\'' +
                ", message='" + message + '\'' +
                ", id=" + id +
                ", role=" + role +
                ", mastername='" + mastername + '\'' +
                '}';
    }
}
